package edu.dublbo.app.generator.mapper;

import edu.dublbo.app.generator.entity.TBasicColumnType;
import edu.dublbo.app.generator.entity.TBasicModelDetail;
import edu.dublbo.app.generator.entity.TBasicPropertyType;

import java.util.List;
import java.util.Map;

/**
 * @author DubLBo
 * @since 2020-09-06 14:26
 * i believe i can i do
 */
public interface TBasicModelDetailMapper {
    void add(TBasicModelDetail entity);
    void update(TBasicModelDetail entity);
    TBasicModelDetail get(String id);
    void batchAdd(List<TBasicModelDetail> detailList);
    void batchUpdateDelete(Map<String, Object> condition);
    List<TBasicModelDetail> select(Map<String, Object> condition);

    List<TBasicPropertyType> getProTypeList();
    List<TBasicColumnType> getColTypeList();

//    void addProType(TBasicPropertyType entity);
//    void addColType(TBasicColumnType entity);

    Integer selectCount(Map<String, Object> con);
}
